const routeConfig = {
  route: {
    path: '/',
    routes: [
      {
        path: '/admin',
        name: '管理',
        routes: [
          { path: "/admin/user", name: "用户管理" },
          { path: "/admin/permission", name: "权限管理" },
          { path: "/admin/menu", name: "菜单管理" },
        ],
      },
      {
        path: '/erp',
        name: 'ERP',
        routes: [
          { path: "/erp/product2", name: "产品" },
          { path: "/erp/company", name: "供应商" },
          { path: "/erp/customer", name: "客户" },
          { path: "/erp/inventory", name: "库存" },
        ],
      },
      { path: '/shop',
        name: '店铺',
        routes: [
          { path: "/shop", hideInMenu: true  },
          { path: "/shop/detail", hideInMenu: true  },
        ],
      },
      {
        path: '/test',
        name: '测试',
        routes: [
          { path: '/test/aa', component: 'index' },
          { path: '/test/docs', component: 'test/docs', name: '文档' },
          { path: "/test/products", component: "test/products", name: "products" },
          { path: "/test/formily", component: "test/formily", name: "表单" },
          { path: "/test/antdstyle", component: "test/antdstyle", name: "主题" },
          { path: '/test/amis', component: 'test/amis', name: 'amis' },
          { path: '/test/amisCurd', component: 'test/amisCurd', name: 'amis curd' },
          { path: "/test/antdpro", component: "test/antdpro", name: "模板", headerRender: false, footerRender: false, menuRender: false, menuHeaderRender: false },
        ],
      },
    ],
  },
  location: {
    pathname: '/',
  },
  appList: [
    {
      icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
      title: 'Ant Design',
      desc: '杭州市较知名的 UI 设计语言',
      url: 'https://ant.design',
    },
    {
      icon: 'https://gw.alipayobjects.com/zos/antfincdn/FLrTNDvlna/antv.png',
      title: 'AntV',
      desc: '蚂蚁集团全新一代数据可视化解决方案',
      url: 'https://antv.vision/',
      target: '_blank',
    },
    {
      icon: 'https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg',
      title: 'Pro Components',
      desc: '专业级 UI 组件库',
      url: 'https://procomponents.ant.design/',
    },
    {
      icon: 'https://img.alicdn.com/tfs/TB1zomHwxv1gK0jSZFFXXb0sXXa-200-200.png',
      title: 'umi',
      desc: '插件化的企业级前端应用框架。',
      url: 'https://umijs.org/zh-CN/docs',
    },

    {
      icon: 'https://gw.alipayobjects.com/zos/bmw-prod/8a74c1d3-16f3-4719-be63-15e467a68a24/km0cv8vn_w500_h500.png',
      title: 'qiankun',
      desc: '可能是你见过最完善的微前端解决方案🧐',
      url: 'https://qiankun.umijs.org/',
    },
    {
      icon: 'https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg',
      title: '语雀',
      desc: '知识创作与分享工具',
      url: 'https://www.yuque.com/',
    },
    {
      icon: 'https://gw.alipayobjects.com/zos/rmsportal/LFooOLwmxGLsltmUjTAP.svg',
      title: 'Kitchen ',
      desc: 'Sketch 工具集',
      url: 'https://kitchen.alipay.com/',
    },
    {
      icon: 'https://gw.alipayobjects.com/zos/bmw-prod/d3e3eb39-1cd7-4aa5-827c-877deced6b7e/lalxt4g3_w256_h256.png',
      title: 'dumi',
      desc: '为组件开发场景而生的文档工具',
      url: 'https://d.umijs.org/zh-CN',
    },
  ],
};

export default routeConfig;